package com.whlilong.jxc.action;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.ui.IWorkbenchWindow;

import com.whlilong.jxc.filemanager.editor.ClientInfoEditor;
import com.whlilong.jxc.service.editor.IEditorService;

public class AddinfoAction extends AbstractAction {
	private IWorkbenchWindow window;

	private String id = "com.whlilong.jxc.addinfo";

	public AddinfoAction(IWorkbenchWindow window) {
		// TODO Auto-generated constructor stub
		super(window);
		setId("addinfo");
		setActionDefinitionId(id);
	}

	@Override
	void doOperator(IEditorService ieditorService) {
		// TODO Auto-generated method stub
		ieditorService.addInfo();
	}

}
